'''
Created on Apr 28, 2011

@author: Bartosz Alchimowicz
'''

class ScreenSpec(object):
	def __init__(self):
		self.screens = []

	def add_screen(self):
		pass

	def as_text(self):
		'''
		Return all screens as txt
		'''

		return "string rep"

	def as_html(self):
		'''
		Return all screens as html
		'''

		return "string rep"

	def as_svg(self):
		'''
		Return all screens as svg
		'''

		return "string rep"

class Screen(object):
	def __init__(self):
		self.name
		self.components

	def add_component(self):
		pass

	def as_text(self):
		'''
		Return this screen as a txt (similar to one from input file)
		'''

		return "string rep"

	def as_html(self):
		'''
		Return this screen as a html
		'''

		return "string rep"

	def as_svg(self):
		'''
		Return this screen as a svg
		'''

		return "string rep"

class Component(object):
	def __init__(self):
		self.name # use it to store as much information as possible button name, link name, image name!

class Button(Component):
	pass

class Link(Component):
	pass

class Image(Component):
	pass

class StaticText(Component):
	pass

class DynamicText(Component):
	pass

class EditBox(Component):
	pass

class Password(Component):
	pass

class TextArea(Component):
	pass

class Custom(Component):
	pass

class List(Component):
	def __init__(self):
		self.components = []
